
const {
  app
} = require('electron')

const handerIPC=require('./ipc')
const robotIPC=require('./robot')
// const {create:createMainWindow} =require('./windows/main')
const {create:createControlWindow} =require('./windows/control')
app.allowRendererProcessReuse = false;
app.on('ready', () => {
  createControlWindow()
  handerIPC()
  robotIPC()
})